import { FormattedMessage } from 'umi';
const formatMsg = (id: string) => {
  return (
    <span>
      <FormattedMessage id={id} />
    </span>
  );
};

export default formatMsg;
